package com.greenway.tools;

public class Step {

	private Distance distance;
	private Duration duration;
	private String html_instructions;
	private Location end_location;
	private Location start_location;
	private String travel_mode;

	public Duration getDuration() {
		return duration;
	}

	public void setDuration(Duration duration) {
		this.duration = duration;
	}

	public Distance getDistance() {
		return distance;
	}

	public void setDistance(Distance distance) {
		this.distance = distance;
	}
	
	public String getHtml_instructions() {
		return html_instructions;
	}

	public void setHtml_instructions(String html_instructions) {
		this.html_instructions = html_instructions;
	}
	
	public Location getEnd_location() {
		return end_location;
	}

	public void setEnd_location(Location end_location) {
		this.end_location = end_location;
	}

	public Location getStart_location() {
		return start_location;
	}

	public void setStart_location(Location start_location) {
		this.start_location = start_location;
	}

	public String getTravel_mode() {
		return travel_mode;
	}

	public void setTravel_mode(String travel_mode) {
		this.travel_mode = travel_mode;
	}

	@Override
	public String toString() {
		return "Line [html_instructions=" + html_instructions +
				", \n\tend_location=" + end_location + 
				", \n\tstart_location="	+ start_location +
				", \n\ttravel_mode=" + travel_mode + "]" + 
				", \n\tdistance=" + distance + "]" + 
				", \n\tduration=" + duration + "]";
	}
	
}
